package com.adderis.soft.service;

import java.util.List;

import com.adderis.soft.domain.model.Cas;

public interface ICasBo {

	/**
	 * Persist a Cas entity in the database
	 * 
	 * @param transientCas
	 */
	public void persist(Cas transientCas);

	/**
	 * Remove a persisted Cas from the database
	 * 
	 * @param persistentCas
	 */
	public void remove(Cas persistentCas);

	public void remove(Integer id);

	/**
	 * Update a Cas in the database
	 * 
	 * @param detachedCas
	 * @return merged Cas
	 */
	public Cas merge(Cas detachedCas);

	/**
	 * Find a Cas by id
	 * 
	 * @param id
	 * @return the found Cas
	 */
	public Cas findById(Integer id);

	/**
	 * Find a Cas by id
	 * 
	 * @return the found Cas
	 */
	public List<Cas> findAll();

	/**
	 * Search Cass
	 * 
	 * @param searchString
	 * @return the found Cass
	 */
	public List<Cas> search(String searchString);

}

